/*
 * Copyright 2011-2021 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0.
 * See `LICENSE` in the project root for license information.
 */

package me.ijleex.jmh.benchmark.counter;

/**
 * 计数器
 *
 * @author liym
 * @since 2020-05-27 12:08 新建
 */
public interface Counter {

    /**
     * 计数值增一（1）
     */
    void increment();

    /**
     * 获取计数值
     *
     * @return 数值
     */
    long getCount();

}
